package com.hu.zhcc.shiro.service;

import com.github.pagehelper.PageInfo;
import com.hu.zhcc.shiro.entity.bo.CheckGroup;
import com.hu.zhcc.shiro.entity.bo.CheckItem;
import com.hu.zhcc.shiro.entity.bo.Setmeal;
import com.hu.zhcc.shiro.entity.vo.SetmealVO;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    int edit(Setmeal setmeal, Integer[] checkgroupIds);

    int add(Setmeal setmeal, Integer[] checkgroupIds);

    void setSetmealAndCheckGroup(Map map);

    PageInfo<Setmeal> findByCondition(SetmealVO setmealVO);

    int delete(Integer id);

    List<Setmeal> findAll();

    Setmeal selectByPrimaryKey(Integer id);
}
